package datastructure.binarytree;

public class BTNode {

	Object data;
	BTNode left;
	BTNode right;
	
	public BTNode() {
	}
	
	public BTNode(Object obj){
		data = obj;
	}
	
	public BTNode(Object obj, BTNode leftChild, BTNode rightChild){
		data = obj;
		left = leftChild;
		right = rightChild;
	}
	
	public String toString(){
		return data.toString();
	}

}
